package com.fuyao.cloud.asset.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;

/**
 * 状态枚举类
 *
 * @author lyhil
 */
public enum CardStatusEnum implements BaseEnum {

	/**
	 * 库存
	 */
	STOCK("0", "库存"),
	/**
	 * 处理中
	 */
	USING("1", "在用"),
	/**
	 * 已审批
	 */
	BORROW("2", "借用"),
	/**
	 * 维修中
	 */
	REPAIR("3", "维修中"),
	/**
	 * 调拨中
	 */
	TRANSFERRING("4", "调拨中"),
	/**
	 * 报废中
	 */
	SCRAPPED_IN("5", "报废中"),
	/**
	 * 作废
	 */
	DISPOSAL("6", "处置中"),
	/**
	 * 作废
	 */
	SCRAPPED("7", "报废"),
	/**
	 * 冲销
	 */
	OFFSET("9", "冲销");

	private String code;
	private String name;

	private CardStatusEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	@Override
	public String getCode() {
		return this.code;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
